package com.example.administrator.printoutindemo.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.administrator.printoutindemo.R;
import com.example.administrator.printoutindemo.mvp.ui.entity.GetMaterialDetailInfo;

import java.util.List;


public class SaoMiaoChaKanXiangQingAdapter_FirstCheckList extends BaseQuickAdapter<GetMaterialDetailInfo.FirstCheckListBean, BaseViewHolder> {

    private Context mContext;

    public SaoMiaoChaKanXiangQingAdapter_FirstCheckList(Context context, @Nullable List<GetMaterialDetailInfo.FirstCheckListBean> data) {
        super(R.layout.item_sao_miao_cha_kan_xiang_qing_first_check_list, data);
        this.mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, GetMaterialDetailInfo.FirstCheckListBean item) {

//        Glide.with(mContext).load(item.getImgPath()).into((ImageView) helper.getView(R.id.img_chan_pin));
        helper.setText(R.id.tv_tui_ku_shi_jian, item.getMaterial());
        helper.setText(R.id.tv_tui_ku_ren, item.getUsername());
        helper.setText(R.id.tv_chu_yan_xin_xi, item.getInfo());

    }


}
